Library linter should still consider ignored files for dependencies
Metadata
Current evaluation
No evaluation has been recorded for this issue yet.
Issue body
Start with:
```
Lint warnings:
- library: libEGL_mesa.so.0: unused library 'usr/lib/x86_64-linux-gnu/libEGL_mesa.so.0.0.0'. (https://snapcraft.io/docs/linters-library)
- library: libGLX_mesa.so.0: unused library 'usr/lib/x86_64-linux-gnu/libGLX_mesa.so.0.0.0'. (https://snapcraft.io/docs/linters-library)
```
These are expected, as they're dlopen'ed, so:
```
lint:
ignore:
- library:
- usr/lib/*/libEGL_mesa.so*
- usr/lib/*/libGLX_mesa.so*
```
And then…
```
Lint warnings:
- library: libXxf86vm.so.1: unused library 'usr/lib/x86_64-linux-gnu/libXxf86vm.so.1.0.0'. (https://snapcraft.io/docs/linters-library)
- library: libxcb-dri2.so.0: unused library 'usr/lib/x86_64-linux-gnu/libxcb-dri2.so.0.0.0'. (https://snapcraft.io/docs/linters-library)
- library: libxcb-glx.so.0: unused library 'usr/lib/x86_64-linux-gnu/libxcb-glx.so.0.0.0'. (https://snapcraft.io/docs/linters-library)
- library: libxcb-present.so.0: unused library 'usr/lib/x86_64-linux-gnu/libxcb-present.so.0.0.0'. (https://snapcraft.io/docs/linters-library)
- library: libxcb-sync.so.1: unused library 'usr/lib/x86_64-linux-gnu/libxcb-sync.so.1.0.0'. (https://snapcraft.io/docs/linters-library)
- library: libxcb-xfixes.so.0: unused library 'usr/lib/x86_64-linux-gnu/libxcb-xfixes.so.0.0.0'. (https://snapcraft.io/docs/linters-library)
- library: libxshmfence.so.1: unused library 'usr/lib/x86_64-linux-gnu/libxshmfence.so.1.0.0'. (https://snapcraft.io/docs/linters-library)
```
GAAH!
Evaluation history
No evaluation history available.